﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using Microsoft.WindowsAzure.ServiceRuntime;
using System.Configuration;

namespace PracticeAzure.Website.Data
{
    public sealed class SqlHelperLite
    {
        public static SqlConnection CreateSqlConnection()
        {
            var connectionString = RoleEnvironment.GetConfigurationSettingValue("SqlConnectionString");
            return new SqlConnection(connectionString);
        }
    }
}